package com.hanggold.springboot.lesson3.req;

//import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author smc
 * @date 2019-06-25 08:37
 * @since
 **/
public class UserReq {



//    @NotBlank
    private String username;

    private Integer age;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


    @Override
    public String toString() {
        return "UserReq{" +
                "username='" + username + '\'' +
                ", age=" + age +
                '}';
    }
}
